.class public Lcom/glympse/android/glympse/ViewSendGlympse;
.super Landroid/widget/FrameLayout;
.source "ViewSendGlympse.java"

# interfaces
.implements Landroid/view/animation/Animation$AnimationListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/glympse/android/glympse/ViewSendGlympse$ContactAutoCompleteAdapter;,
        Lcom/glympse/android/glympse/ViewSendGlympse$Duration;,
        Lcom/glympse/android/glympse/ViewSendGlympse$DurationsAdapter;,
        Lcom/glympse/android/glympse/ViewSendGlympse$MessageAdapter;,
        Lcom/glympse/android/glympse/ViewSendGlympse$MessageAutoCompleteAdapter;,
        Lcom/glympse/android/glympse/ViewSendGlympse$ModifyTimer;,
        Lcom/glympse/android/glympse/ViewSendGlympse$MyGlympseView;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnClickContacts;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnClickDestination;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnClickDurations;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnClickMessages;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnContactPickerClicked;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnFocusChangeRecipient;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnItemClickMessage;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnItemClickRecipient;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnKeyListenerDestination;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerMessage;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerRecipient;,
        Lcom/glympse/android/glympse/ViewSendGlympse$OnTouchMap;,
        Lcom/glympse/android/glympse/ViewSendGlympse$PromptForFavoriteCallback;,
        Lcom/glympse/android/glympse/ViewSendGlympse$RecipientUI;
    }
.end annotation


# static fields
.field private static final ms_aoDurations:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

.field private static final ms_aoDurationsNoModify:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;


# instance fields
.field private m_fDurationChanged:Z

.field private m_fNeedToClear:Z

.field private m_nDurationSelected:I

.field private m_oButtonDestination:Landroid/widget/Button;

.field private m_oButtonDurations:Landroid/widget/Button;

.field private m_oButtonSend:Landroid/widget/ImageButton;

.field private m_oClipSend:Landroid/widget/RelativeLayout;

.field private m_oDurationsAdapter:Lcom/glympse/android/glympse/ViewSendGlympse$DurationsAdapter;

.field private m_oEditMessage:Landroid/widget/AutoCompleteTextView;

.field private m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

.field public m_oGlympseView:Lcom/glympse/android/glympse/ViewSendGlympse$MyGlympseView;

.field private m_oHideSendPanel:Landroid/view/animation/Animation;

.field private m_oLayoutRecipientNew:Landroid/widget/RelativeLayout;

.field private m_oLayoutRecipients:Landroid/widget/LinearLayout;

.field private m_oModifyTimer:Lcom/glympse/android/glympse/ViewSendGlympse$ModifyTimer;

.field private m_oOnTextChangedListenerMessage:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerMessage;

.field private m_oOnTextChangedListenerRecipient:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerRecipient;

.field private m_oScroller:Landroid/widget/ScrollView;

.field private m_oShowSendPanel:Landroid/view/animation/Animation;

.field private m_oTicket:Lcom/glympse/platform/common/Ticket;

.field private m_oTicketFavorite:Lcom/glympse/platform/common/Ticket;

.field private m_oTicketModify:Lcom/glympse/platform/common/Ticket;

.field private m_strTicketSrc:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 10

    .prologue
    const/4 v9, 0x3

    const/4 v8, 0x2

    const/4 v7, 0x1

    const/4 v6, 0x0

    const/4 v5, 0x0

    .line 112
    const/16 v0, 0xc

    new-array v0, v0, [Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    .line 113
    new-instance v1, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const/4 v2, -0x1

    const-string v3, "No change"

    invoke-direct {v1, v2, v3, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v1, v0, v6

    .line 114
    new-instance v1, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const-string v2, "Expire now"

    invoke-direct {v1, v6, v2, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v1, v0, v7

    .line 115
    new-instance v1, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v2, 0x493e0

    const-string v3, "5 minutes"

    invoke-direct {v1, v2, v3, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v1, v0, v8

    .line 116
    new-instance v1, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v2, 0x927c0

    const-string v3, "10 minutes"

    invoke-direct {v1, v2, v3, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v1, v0, v9

    const/4 v1, 0x4

    .line 117
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0xdbba0

    const-string v4, "15 minutes"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/4 v1, 0x5

    .line 118
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0x1b7740

    const-string v4, "30 minutes"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/4 v1, 0x6

    .line 119
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0x2932e0

    const-string v4, "45 minutes"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/4 v1, 0x7

    .line 120
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0x36ee80

    const-string v4, "1 hour"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/16 v1, 0x8

    .line 121
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0x5265c0

    const-string v4, "1 hour, 30 minutes"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/16 v1, 0x9

    .line 122
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0x6ddd00

    const-string v4, "2 hours"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/16 v1, 0xa

    .line 124
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0xa4cb80

    const-string v4, "3 hours"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/16 v1, 0xb

    .line 126
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0xdbba00

    const-string v4, "4 hours"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    .line 111
    sput-object v0, Lcom/glympse/android/glympse/ViewSendGlympse;->ms_aoDurations:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    .line 131
    const/16 v0, 0xb

    new-array v0, v0, [Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    .line 132
    new-instance v1, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const-string v2, "0 minutes (Check-in)"

    invoke-direct {v1, v6, v2, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v1, v0, v6

    .line 133
    new-instance v1, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v2, 0x493e0

    const-string v3, "5 minutes"

    invoke-direct {v1, v2, v3, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v1, v0, v7

    .line 134
    new-instance v1, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v2, 0x927c0

    const-string v3, "10 minutes"

    invoke-direct {v1, v2, v3, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v1, v0, v8

    .line 135
    new-instance v1, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v2, 0xdbba0

    const-string v3, "15 minutes"

    invoke-direct {v1, v2, v3, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v1, v0, v9

    const/4 v1, 0x4

    .line 136
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0x1b7740

    const-string v4, "30 minutes"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/4 v1, 0x5

    .line 137
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0x2932e0

    const-string v4, "45 minutes"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/4 v1, 0x6

    .line 138
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0x36ee80

    const-string v4, "1 hour"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/4 v1, 0x7

    .line 139
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0x5265c0

    const-string v4, "1 hour, 30 minutes"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/16 v1, 0x8

    .line 140
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0x6ddd00

    const-string v4, "2 hours"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/16 v1, 0x9

    .line 142
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0xa4cb80

    const-string v4, "3 hours"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    const/16 v1, 0xa

    .line 144
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const v3, 0xdbba00

    const-string v4, "4 hours"

    invoke-direct {v2, v3, v4, v5}, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;-><init>(ILjava/lang/String;Lcom/glympse/android/glympse/ViewSendGlympse$Duration;)V

    aput-object v2, v0, v1

    .line 130
    sput-object v0, Lcom/glympse/android/glympse/ViewSendGlympse;->ms_aoDurationsNoModify:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    .line 69
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .locals 5
    .parameter "oContext"

    .prologue
    const/4 v4, 0x0

    const/4 v3, 0x0

    .line 150
    invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    .line 71
    new-instance v0, Lcom/glympse/android/glympse/ViewSendGlympse$MyGlympseView;

    invoke-direct {v0, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$MyGlympseView;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    iput-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oGlympseView:Lcom/glympse/android/glympse/ViewSendGlympse$MyGlympseView;

    .line 82
    const-string v0, "new"

    iput-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_strTicketSrc:Ljava/lang/String;

    .line 83
    new-instance v0, Lcom/glympse/platform/common/Ticket;

    const-wide/16 v1, 0x0

    invoke-direct {v0, v1, v2}, Lcom/glympse/platform/common/Ticket;-><init>(J)V

    iput-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    .line 84
    iput-object v3, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketFavorite:Lcom/glympse/platform/common/Ticket;

    .line 85
    iput-object v3, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketModify:Lcom/glympse/platform/common/Ticket;

    .line 89
    iput-boolean v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_fDurationChanged:Z

    .line 90
    iput-object v3, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oModifyTimer:Lcom/glympse/android/glympse/ViewSendGlympse$ModifyTimer;

    .line 91
    iput-object v3, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oDurationsAdapter:Lcom/glympse/android/glympse/ViewSendGlympse$DurationsAdapter;

    .line 92
    iput-boolean v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_fNeedToClear:Z

    .line 94
    iput-object v3, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oOnTextChangedListenerRecipient:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerRecipient;

    .line 95
    iput-object v3, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oOnTextChangedListenerMessage:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerMessage;

    .line 151
    return-void
.end method

.method private GetDurationText(I)Ljava/lang/String;
    .locals 6
    .parameter "nItem"

    .prologue
    const/4 v5, 0x1

    .line 538
    if-nez p1, :cond_1

    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->IsModify()Z

    move-result v4

    if-eqz v4, :cond_1

    .line 540
    invoke-static {}, Lcom/glympse/platform/common/CorrectedTime;->GetTime()J

    move-result-wide v0

    .line 541
    .local v0, lCurrentTime:J
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketModify:Lcom/glympse/platform/common/Ticket;

    iget-wide v4, v4, Lcom/glympse/platform/common/Ticket;->m_lExpireTime:J

    cmp-long v4, v4, v0

    if-lez v4, :cond_0

    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketModify:Lcom/glympse/platform/common/Ticket;

    iget-wide v4, v4, Lcom/glympse/platform/common/Ticket;->m_lExpireTime:J

    sub-long/2addr v4, v0

    move-wide v2, v4

    .line 542
    .local v2, lDuration:J
    :goto_0
    new-instance v4, Ljava/lang/StringBuilder;

    sget-object v5, Lcom/glympse/android/glympse/ViewSendGlympse;->ms_aoDurations:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    aget-object v5, v5, p1

    iget-object v5, v5, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;->m_strText:Ljava/lang/String;

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, " ("

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-static {v2, v3}, Lcom/glympse/platform/common/Helpers;->DurationToStr(J)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, ")"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 550
    .end local v0           #lCurrentTime:J
    .end local v2           #lDuration:J
    :goto_1
    return-object v4

    .line 541
    .restart local v0       #lCurrentTime:J
    :cond_0
    const-wide/16 v4, 0x0

    move-wide v2, v4

    goto :goto_0

    .line 545
    .end local v0           #lCurrentTime:J
    :cond_1
    if-ne p1, v5, :cond_3

    .line 547
    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->IsModify()Z

    move-result v4

    if-eqz v4, :cond_2

    sget-object v4, Lcom/glympse/android/glympse/ViewSendGlympse;->ms_aoDurations:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    aget-object v4, v4, v5

    iget-object v4, v4, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;->m_strText:Ljava/lang/String;

    goto :goto_1

    :cond_2
    sget-object v4, Lcom/glympse/android/glympse/ViewSendGlympse;->ms_aoDurationsNoModify:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    const/4 v5, 0x0

    aget-object v4, v4, v5

    iget-object v4, v4, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;->m_strText:Ljava/lang/String;

    goto :goto_1

    .line 550
    :cond_3
    sget-object v4, Lcom/glympse/android/glympse/ViewSendGlympse;->ms_aoDurations:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    aget-object v4, v4, p1

    iget-object v4, v4, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;->m_strText:Ljava/lang/String;

    goto :goto_1
.end method

.method private SetDestinationButtonText(Ljava/lang/String;)V
    .locals 2
    .parameter "str"

    .prologue
    .line 781
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDestination:Landroid/widget/Button;

    if-eqz v0, :cond_0

    .line 783
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDestination:Landroid/widget/Button;

    invoke-virtual {v0, p1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 784
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDestination:Landroid/widget/Button;

    invoke-static {p1}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    sget-object v1, Landroid/graphics/Typeface;->DEFAULT:Landroid/graphics/Typeface;

    :goto_0
    invoke-virtual {v0, v1}, Landroid/widget/Button;->setTypeface(Landroid/graphics/Typeface;)V

    .line 786
    :cond_0
    return-void

    .line 784
    :cond_1
    sget-object v1, Landroid/graphics/Typeface;->DEFAULT_BOLD:Landroid/graphics/Typeface;

    goto :goto_0
.end method

.method private SetDurationItem(I)V
    .locals 2
    .parameter "nItem"

    .prologue
    .line 531
    iput p1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_nDurationSelected:I

    .line 532
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDurations:Landroid/widget/Button;

    iget v1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_nDurationSelected:I

    invoke-direct {p0, v1}, Lcom/glympse/android/glympse/ViewSendGlympse;->GetDurationText(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 533
    return-void
.end method

.method private SetDurationTime(I)V
    .locals 3
    .parameter "nDuration"

    .prologue
    .line 517
    const/4 v0, 0x1

    .local v0, nItem:I
    :goto_0
    sget-object v1, Lcom/glympse/android/glympse/ViewSendGlympse;->ms_aoDurations:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    array-length v1, v1

    if-lt v0, v1, :cond_0

    .line 526
    :goto_1
    return-void

    .line 519
    :cond_0
    sget-object v1, Lcom/glympse/android/glympse/ViewSendGlympse;->ms_aoDurations:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    aget-object v1, v1, v0

    iget v1, v1, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;->m_nDurationMs:I

    if-ge v1, p1, :cond_1

    .line 520
    add-int/lit8 v1, v0, 0x1

    sget-object v2, Lcom/glympse/android/glympse/ViewSendGlympse;->ms_aoDurations:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    array-length v2, v2

    if-lt v1, v2, :cond_2

    .line 522
    :cond_1
    invoke-direct {p0, v0}, Lcom/glympse/android/glympse/ViewSendGlympse;->SetDurationItem(I)V

    goto :goto_1

    .line 517
    :cond_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method static synthetic access$0(Lcom/glympse/android/glympse/ViewSendGlympse;)Z
    .locals 1
    .parameter

    .prologue
    .line 92
    iget-boolean v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_fNeedToClear:Z

    return v0
.end method

.method static synthetic access$1(Lcom/glympse/android/glympse/ViewSendGlympse;)Landroid/widget/ImageButton;
    .locals 1
    .parameter

    .prologue
    .line 75
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    return-object v0
.end method

.method static synthetic access$10(Lcom/glympse/android/glympse/ViewSendGlympse;)Landroid/widget/LinearLayout;
    .locals 1
    .parameter

    .prologue
    .line 77
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oLayoutRecipients:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$11(Lcom/glympse/android/glympse/ViewSendGlympse;)Landroid/widget/RelativeLayout;
    .locals 1
    .parameter

    .prologue
    .line 78
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oLayoutRecipientNew:Landroid/widget/RelativeLayout;

    return-object v0
.end method

.method static synthetic access$12(Lcom/glympse/android/glympse/ViewSendGlympse;)Landroid/widget/ScrollView;
    .locals 1
    .parameter

    .prologue
    .line 76
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oScroller:Landroid/widget/ScrollView;

    return-object v0
.end method

.method static synthetic access$13(Lcom/glympse/android/glympse/ViewSendGlympse;Lcom/glympse/android/glympse/ViewSendGlympse$DurationsAdapter;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 91
    iput-object p1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oDurationsAdapter:Lcom/glympse/android/glympse/ViewSendGlympse$DurationsAdapter;

    return-void
.end method

.method static synthetic access$14()[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;
    .locals 1

    .prologue
    .line 111
    sget-object v0, Lcom/glympse/android/glympse/ViewSendGlympse;->ms_aoDurations:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    return-object v0
.end method

.method static synthetic access$15()[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;
    .locals 1

    .prologue
    .line 130
    sget-object v0, Lcom/glympse/android/glympse/ViewSendGlympse;->ms_aoDurationsNoModify:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    return-object v0
.end method

.method static synthetic access$16(Lcom/glympse/android/glympse/ViewSendGlympse;I)Ljava/lang/String;
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 536
    invoke-direct {p0, p1}, Lcom/glympse/android/glympse/ViewSendGlympse;->GetDurationText(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$17(Lcom/glympse/android/glympse/ViewSendGlympse;)Landroid/widget/AutoCompleteTextView;
    .locals 1
    .parameter

    .prologue
    .line 80
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    return-object v0
.end method

.method static synthetic access$18(Lcom/glympse/android/glympse/ViewSendGlympse;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 89
    iput-boolean p1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_fDurationChanged:Z

    return-void
.end method

.method static synthetic access$19(Lcom/glympse/android/glympse/ViewSendGlympse;)Lcom/glympse/platform/common/Ticket;
    .locals 1
    .parameter

    .prologue
    .line 85
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketModify:Lcom/glympse/platform/common/Ticket;

    return-object v0
.end method

.method static synthetic access$2(Lcom/glympse/android/glympse/ViewSendGlympse;)Landroid/widget/Button;
    .locals 1
    .parameter

    .prologue
    .line 73
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDestination:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic access$20(Lcom/glympse/android/glympse/ViewSendGlympse;)Z
    .locals 1
    .parameter

    .prologue
    .line 89
    iget-boolean v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_fDurationChanged:Z

    return v0
.end method

.method static synthetic access$21(Lcom/glympse/android/glympse/ViewSendGlympse;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 82
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_strTicketSrc:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$22(Lcom/glympse/android/glympse/ViewSendGlympse;)Lcom/glympse/platform/common/Ticket;
    .locals 1
    .parameter

    .prologue
    .line 84
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketFavorite:Lcom/glympse/platform/common/Ticket;

    return-object v0
.end method

.method static synthetic access$3(Lcom/glympse/android/glympse/ViewSendGlympse;)Landroid/widget/AutoCompleteTextView;
    .locals 1
    .parameter

    .prologue
    .line 79
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    return-object v0
.end method

.method static synthetic access$4(Lcom/glympse/android/glympse/ViewSendGlympse;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 92
    iput-boolean p1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_fNeedToClear:Z

    return-void
.end method

.method static synthetic access$5(Lcom/glympse/android/glympse/ViewSendGlympse;)I
    .locals 1
    .parameter

    .prologue
    .line 88
    iget v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_nDurationSelected:I

    return v0
.end method

.method static synthetic access$6(Lcom/glympse/android/glympse/ViewSendGlympse;I)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 529
    invoke-direct {p0, p1}, Lcom/glympse/android/glympse/ViewSendGlympse;->SetDurationItem(I)V

    return-void
.end method

.method static synthetic access$7(Lcom/glympse/android/glympse/ViewSendGlympse;)Lcom/glympse/android/glympse/ViewSendGlympse$DurationsAdapter;
    .locals 1
    .parameter

    .prologue
    .line 91
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oDurationsAdapter:Lcom/glympse/android/glympse/ViewSendGlympse$DurationsAdapter;

    return-object v0
.end method

.method static synthetic access$8(Lcom/glympse/android/glympse/ViewSendGlympse;)Landroid/widget/Button;
    .locals 1
    .parameter

    .prologue
    .line 74
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDurations:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic access$9(Lcom/glympse/android/glympse/ViewSendGlympse;)Lcom/glympse/platform/common/Ticket;
    .locals 1
    .parameter

    .prologue
    .line 83
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    return-object v0
.end method


# virtual methods
.method public AddRecipient(Lcom/glympse/platform/common/Recipient;)V
    .locals 4
    .parameter "oRecipient"

    .prologue
    const/4 v3, 0x1

    .line 603
    const/4 v0, 0x4

    iget v1, p1, Lcom/glympse/platform/common/Recipient;->m_eRecipientType:I

    if-ne v0, v1, :cond_1

    .line 604
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    iget-object v0, v0, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    invoke-virtual {v0}, Lcom/glympse/platform/Config;->HasTwitterCredentials()Z

    move-result v0

    if-nez v0, :cond_1

    .line 605
    const-class v0, Lcom/glympse/android/glympse/DlgTwitterSettings;

    invoke-virtual {v0}, Ljava/lang/Class;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/android/glympse/DlgBase;->IsCreated(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 607
    sget-object v0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    new-instance v1, Lcom/glympse/android/glympse/DlgTwitterSettings;

    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2, v3}, Lcom/glympse/android/glympse/DlgTwitterSettings;-><init>(Landroid/content/Context;Z)V

    invoke-virtual {v0, v1}, Lcom/glympse/android/glympse/Glympse;->QueueDialog(Landroid/app/Dialog;)Z

    .line 636
    :cond_0
    :goto_0
    return-void

    .line 612
    :cond_1
    const/4 v0, 0x5

    iget v1, p1, Lcom/glympse/platform/common/Recipient;->m_eRecipientType:I

    if-ne v0, v1, :cond_2

    .line 613
    sget-object v0, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    invoke-virtual {v0}, Lcom/glympse/android/glympseservice/GlympseService;->GetFacebook()Lcom/glympse/android/glympseservice/FacebookWrapper;

    move-result-object v0

    invoke-virtual {v0}, Lcom/glympse/android/glympseservice/FacebookWrapper;->IsSignedIn()Z

    move-result v0

    if-nez v0, :cond_2

    .line 614
    const-class v0, Lcom/glympse/android/glympse/DlgFacebookSettings;

    invoke-virtual {v0}, Ljava/lang/Class;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/android/glympse/DlgBase;->IsCreated(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_2

    .line 616
    sget-object v0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    new-instance v1, Lcom/glympse/android/glympse/DlgFacebookSettings;

    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2, v3}, Lcom/glympse/android/glympse/DlgFacebookSettings;-><init>(Landroid/content/Context;Z)V

    invoke-virtual {v0, v1}, Lcom/glympse/android/glympse/Glympse;->QueueDialog(Landroid/app/Dialog;)Z

    goto :goto_0

    .line 621
    :cond_2
    new-instance v0, Lcom/glympse/android/glympse/ViewSendGlympse$RecipientUI;

    invoke-direct {v0, p0, p1}, Lcom/glympse/android/glympse/ViewSendGlympse$RecipientUI;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;Lcom/glympse/platform/common/Recipient;)V

    .line 622
    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->UpdateMessageColor()V

    .line 625
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    const-string v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/AutoCompleteTextView;->setText(Ljava/lang/CharSequence;)V

    .line 632
    sget-object v0, Lcom/glympse/android/glympse/Glympse$EViews;->SendGlympse:Lcom/glympse/android/glympse/Glympse$EViews;

    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-virtual {v1}, Lcom/glympse/android/glympse/Glympse;->GetCurrentEView()Lcom/glympse/android/glympse/Glympse$EViews;

    move-result-object v1

    if-eq v0, v1, :cond_0

    .line 634
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/glympse/android/glympse/Glympse;->SetFocusDelayed(Landroid/view/View;Z)V

    goto :goto_0
.end method

.method public AddRecipientIfPossible()Z
    .locals 4

    .prologue
    .line 642
    iget-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    invoke-virtual {v2}, Landroid/widget/AutoCompleteTextView;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    .line 643
    .local v1, strRecipient:Ljava/lang/String;
    invoke-static {v1}, Lcom/glympse/platform/common/Recipient;->GuessType(Ljava/lang/String;)I

    move-result v0

    .line 644
    .local v0, eRecipientType:I
    if-eqz v0, :cond_0

    .line 647
    new-instance v2, Lcom/glympse/android/glympse/ViewSendGlympse$RecipientUI;

    new-instance v3, Lcom/glympse/platform/common/Recipient;

    invoke-direct {v3, v1, v0}, Lcom/glympse/platform/common/Recipient;-><init>(Ljava/lang/String;I)V

    invoke-direct {v2, p0, v3}, Lcom/glympse/android/glympse/ViewSendGlympse$RecipientUI;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;Lcom/glympse/platform/common/Recipient;)V

    .line 648
    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->UpdateMessageColor()V

    .line 651
    iget-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    const-string v3, ""

    invoke-virtual {v2, v3}, Landroid/widget/AutoCompleteTextView;->setText(Ljava/lang/CharSequence;)V

    .line 653
    const/4 v2, 0x1

    .line 655
    :goto_0
    return v2

    :cond_0
    const/4 v2, 0x0

    goto :goto_0
.end method

.method public CanSave()Z
    .locals 1

    .prologue
    .line 804
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_listRecipients:Lcom/glympse/platform/GVector$Recipients;

    invoke-virtual {v0}, Lcom/glympse/platform/GVector$Recipients;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 805
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    invoke-virtual {v0}, Landroid/widget/AutoCompleteTextView;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Recipient;->GuessType(Ljava/lang/String;)I

    move-result v0

    if-nez v0, :cond_0

    .line 806
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    invoke-virtual {v0}, Landroid/widget/AutoCompleteTextView;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gtz v0, :cond_0

    .line 807
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_oDestination:Lcom/glympse/platform/common/Place;

    invoke-virtual {v0}, Lcom/glympse/platform/common/Place;->HasLocation()Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    .line 803
    goto :goto_0
.end method

.method public Clear()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    const/4 v2, 0x0

    .line 557
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oModifyTimer:Lcom/glympse/android/glympse/ViewSendGlympse$ModifyTimer;

    if-eqz v0, :cond_0

    .line 559
    sget-object v0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    iget-object v1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oModifyTimer:Lcom/glympse/android/glympse/ViewSendGlympse$ModifyTimer;

    invoke-virtual {v0, v1}, Lcom/glympse/android/glympse/Glympse;->RemoveTimer(Lcom/glympse/platform/common/GTimer;)V

    .line 560
    iput-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oModifyTimer:Lcom/glympse/android/glympse/ViewSendGlympse$ModifyTimer;

    .line 563
    :cond_0
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oOnTextChangedListenerRecipient:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerRecipient;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    if-eqz v0, :cond_1

    .line 565
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    iget-object v1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oOnTextChangedListenerRecipient:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerRecipient;

    invoke-virtual {v0, v1}, Landroid/widget/AutoCompleteTextView;->removeTextChangedListener(Landroid/text/TextWatcher;)V

    .line 568
    :cond_1
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oOnTextChangedListenerMessage:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerMessage;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    if-eqz v0, :cond_2

    .line 570
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    iget-object v1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oOnTextChangedListenerMessage:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerMessage;

    invoke-virtual {v0, v1}, Landroid/widget/AutoCompleteTextView;->removeTextChangedListener(Landroid/text/TextWatcher;)V

    .line 574
    :cond_2
    iput-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oLayoutRecipients:Landroid/widget/LinearLayout;

    .line 575
    iput-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oLayoutRecipientNew:Landroid/widget/RelativeLayout;

    .line 576
    iput-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    .line 577
    iput-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    .line 578
    iput-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDestination:Landroid/widget/Button;

    .line 579
    iput-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDurations:Landroid/widget/Button;

    .line 580
    iput-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    .line 581
    iput-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketFavorite:Lcom/glympse/platform/common/Ticket;

    .line 582
    iput-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketModify:Lcom/glympse/platform/common/Ticket;

    .line 584
    iput-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oOnTextChangedListenerRecipient:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerRecipient;

    .line 587
    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->removeAllViews()V

    .line 590
    iput-boolean v3, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_fDurationChanged:Z

    .line 593
    const-string v0, "new"

    iput-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_strTicketSrc:Ljava/lang/String;

    .line 594
    new-instance v0, Lcom/glympse/platform/common/Ticket;

    const-wide/16 v1, 0x0

    invoke-direct {v0, v1, v2}, Lcom/glympse/platform/common/Ticket;-><init>(J)V

    iput-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    .line 596
    iput-boolean v3, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_fNeedToClear:Z

    .line 597
    return-void
.end method

.method public CreateControls()V
    .locals 8

    .prologue
    const/4 v7, 0x0

    .line 445
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oLayoutRecipients:Landroid/widget/LinearLayout;

    if-eqz v4, :cond_0

    .line 511
    :goto_0
    return-void

    .line 450
    :cond_0
    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->getContext()Landroid/content/Context;

    move-result-object v2

    .line 451
    .local v2, oContext:Landroid/content/Context;
    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-static {v4}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v4

    const v5, 0x7f030020

    const/4 v6, 0x1

    invoke-virtual {v4, v5, p0, v6}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v3

    .line 454
    .local v3, oView:Landroid/view/View;
    const v4, 0x7f0c0071

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ScrollView;

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oScroller:Landroid/widget/ScrollView;

    .line 457
    const v4, 0x7f0c0072

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/LinearLayout;

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oLayoutRecipients:Landroid/widget/LinearLayout;

    .line 460
    const v4, 0x7f0c0073

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/RelativeLayout;

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oLayoutRecipientNew:Landroid/widget/RelativeLayout;

    .line 463
    new-instance v4, Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerRecipient;

    invoke-direct {v4, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerRecipient;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oOnTextChangedListenerRecipient:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerRecipient;

    .line 464
    const v4, 0x7f0c0074

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/AutoCompleteTextView;

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    .line 465
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    new-instance v5, Lcom/glympse/android/glympse/ViewSendGlympse$OnFocusChangeRecipient;

    invoke-direct {v5, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnFocusChangeRecipient;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    invoke-virtual {v4, v5}, Landroid/widget/AutoCompleteTextView;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    .line 466
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    iget-object v5, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oOnTextChangedListenerRecipient:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerRecipient;

    invoke-virtual {v4, v5}, Landroid/widget/AutoCompleteTextView;->setOnKeyListener(Landroid/view/View$OnKeyListener;)V

    .line 467
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    iget-object v5, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oOnTextChangedListenerRecipient:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerRecipient;

    invoke-virtual {v4, v5}, Landroid/widget/AutoCompleteTextView;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 468
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    new-instance v5, Lcom/glympse/android/glympse/ViewSendGlympse$OnItemClickRecipient;

    invoke-direct {v5, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnItemClickRecipient;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    invoke-virtual {v4, v5}, Landroid/widget/AutoCompleteTextView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 469
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    new-instance v5, Lcom/glympse/android/glympse/ViewSendGlympse$ContactAutoCompleteAdapter;

    invoke-direct {v5, v2}, Lcom/glympse/android/glympse/ViewSendGlympse$ContactAutoCompleteAdapter;-><init>(Landroid/content/Context;)V

    invoke-virtual {v4, v5}, Landroid/widget/AutoCompleteTextView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 472
    const v4, 0x7f0c0075

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    .line 473
    .local v0, oButtonContacts:Landroid/widget/ImageButton;
    new-instance v4, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickContacts;

    invoke-direct {v4, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickContacts;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    invoke-virtual {v0, v4}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 476
    const v4, 0x7f0c0076

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/Button;

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDurations:Landroid/widget/Button;

    .line 477
    sget v4, Lcom/glympse/platform/common/ConfigBase;->ms_nDefaultDurationMs:I

    invoke-direct {p0, v4}, Lcom/glympse/android/glympse/ViewSendGlympse;->SetDurationTime(I)V

    .line 478
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDurations:Landroid/widget/Button;

    new-instance v5, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickDurations;

    invoke-direct {v5, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickDurations;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    invoke-virtual {v4, v5}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 481
    new-instance v4, Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerMessage;

    invoke-direct {v4, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerMessage;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oOnTextChangedListenerMessage:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerMessage;

    .line 482
    const v4, 0x7f0c0077

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/AutoCompleteTextView;

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    .line 483
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    iget-object v5, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oOnTextChangedListenerMessage:Lcom/glympse/android/glympse/ViewSendGlympse$OnTextChangedListenerMessage;

    invoke-virtual {v4, v5}, Landroid/widget/AutoCompleteTextView;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 484
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    new-instance v5, Lcom/glympse/android/glympse/ViewSendGlympse$OnItemClickMessage;

    invoke-direct {v5, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnItemClickMessage;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    invoke-virtual {v4, v5}, Landroid/widget/AutoCompleteTextView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 485
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    new-instance v5, Lcom/glympse/android/glympse/ViewSendGlympse$MessageAutoCompleteAdapter;

    invoke-direct {v5, v2}, Lcom/glympse/android/glympse/ViewSendGlympse$MessageAutoCompleteAdapter;-><init>(Landroid/content/Context;)V

    invoke-virtual {v4, v5}, Landroid/widget/AutoCompleteTextView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 488
    const v4, 0x7f0c0078

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageButton;

    .line 489
    .local v1, oButtonMessages:Landroid/widget/ImageButton;
    new-instance v4, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickMessages;

    invoke-direct {v4, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickMessages;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    invoke-virtual {v1, v4}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 492
    const v4, 0x7f0c0079

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/Button;

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDestination:Landroid/widget/Button;

    .line 493
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDestination:Landroid/widget/Button;

    new-instance v5, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickDestination;

    invoke-direct {v5, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickDestination;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    invoke-virtual {v4, v5}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 494
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonDestination:Landroid/widget/Button;

    new-instance v5, Lcom/glympse/android/glympse/ViewSendGlympse$OnKeyListenerDestination;

    invoke-direct {v5, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnKeyListenerDestination;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    invoke-virtual {v4, v5}, Landroid/widget/Button;->setOnKeyListener(Landroid/view/View$OnKeyListener;)V

    .line 497
    const v4, 0x7f0c007a

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/RelativeLayout;

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oClipSend:Landroid/widget/RelativeLayout;

    .line 498
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oClipSend:Landroid/widget/RelativeLayout;

    const/16 v5, 0x8

    invoke-virtual {v4, v5}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 501
    const/high16 v4, 0x7f0c

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ImageButton;

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    .line 502
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    invoke-virtual {v4, v7}, Landroid/widget/ImageButton;->setEnabled(Z)V

    .line 503
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    invoke-virtual {v4, v7}, Landroid/widget/ImageButton;->setFocusable(Z)V

    .line 504
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    new-instance v5, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend;

    invoke-direct {v5, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$OnClickSend;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    invoke-virtual {v4, v5}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 507
    const v4, 0x7f040003

    invoke-static {v2, v4}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v4

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oShowSendPanel:Landroid/view/animation/Animation;

    .line 508
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oShowSendPanel:Landroid/view/animation/Animation;

    invoke-virtual {v4, p0}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 509
    const v4, 0x7f040002

    invoke-static {v2, v4}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v4

    iput-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oHideSendPanel:Landroid/view/animation/Animation;

    .line 510
    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oHideSendPanel:Landroid/view/animation/Animation;

    invoke-virtual {v4, p0}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    goto/16 :goto_0
.end method

.method public DoSend()V
    .locals 1

    .prologue
    .line 382
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    invoke-virtual {v0}, Landroid/widget/ImageButton;->isEnabled()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/glympse/android/glympse/DlgBase;->AnyCreated()Z

    move-result v0

    if-nez v0, :cond_0

    .line 384
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    invoke-virtual {v0}, Landroid/widget/ImageButton;->performClick()Z

    .line 386
    :cond_0
    return-void
.end method

.method public GetDestination()Lcom/glympse/platform/common/Place;
    .locals 1

    .prologue
    .line 403
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_oDestination:Lcom/glympse/platform/common/Place;

    return-object v0
.end method

.method public IsFavorite()Z
    .locals 1

    .prologue
    .line 397
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketFavorite:Lcom/glympse/platform/common/Ticket;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public IsModify()Z
    .locals 1

    .prologue
    .line 391
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketModify:Lcom/glympse/platform/common/Ticket;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public PrepareTicket()V
    .locals 3

    .prologue
    .line 791
    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->AddRecipientIfPossible()Z

    .line 794
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    invoke-virtual {v1}, Landroid/widget/AutoCompleteTextView;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/glympse/platform/common/Ticket;->m_strMessage:Ljava/lang/String;

    .line 797
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    sget-object v1, Lcom/glympse/android/glympse/ViewSendGlympse;->ms_aoDurations:[Lcom/glympse/android/glympse/ViewSendGlympse$Duration;

    iget v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_nDurationSelected:I

    aget-object v1, v1, v2

    iget v1, v1, Lcom/glympse/android/glympse/ViewSendGlympse$Duration;->m_nDurationMs:I

    iput v1, v0, Lcom/glympse/platform/common/Ticket;->m_nDurationMs:I

    .line 798
    return-void
.end method

.method public Save()V
    .locals 5

    .prologue
    .line 813
    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->PrepareTicket()V

    .line 815
    sget-object v0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    new-instance v1, Lcom/glympse/android/glympse/DlgSaveFavorite;

    sget-object v2, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    iget-object v3, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    new-instance v4, Lcom/glympse/android/glympse/ViewSendGlympse$PromptForFavoriteCallback;

    invoke-direct {v4, p0}, Lcom/glympse/android/glympse/ViewSendGlympse$PromptForFavoriteCallback;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;)V

    invoke-direct {v1, v2, v3, v4}, Lcom/glympse/android/glympse/DlgSaveFavorite;-><init>(Landroid/content/Context;Lcom/glympse/platform/common/Ticket;Lcom/glympse/android/glympse/DlgShell$DlgShellListener;)V

    invoke-virtual {v0, v1}, Lcom/glympse/android/glympse/Glympse;->QueueDialog(Landroid/app/Dialog;)Z

    .line 816
    return-void
.end method

.method public SetDestination(Ljava/lang/String;DD)V
    .locals 2
    .parameter "strName"
    .parameter "dLatitude"
    .parameter "dLongitude"

    .prologue
    .line 768
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_oDestination:Lcom/glympse/platform/common/Place;

    invoke-static {p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/glympse/platform/common/Place;->m_strName:Ljava/lang/String;

    .line 769
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_oDestination:Lcom/glympse/platform/common/Place;

    iput-wide p2, v0, Lcom/glympse/platform/common/Place;->m_dLatitude:D

    .line 770
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_oDestination:Lcom/glympse/platform/common/Place;

    iput-wide p4, v0, Lcom/glympse/platform/common/Place;->m_dLongitude:D

    .line 772
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_oDestination:Lcom/glympse/platform/common/Place;

    invoke-virtual {v0}, Lcom/glympse/platform/common/Place;->HasLocation()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v0, v0, Lcom/glympse/platform/common/Ticket;->m_oDestination:Lcom/glympse/platform/common/Place;

    iget-object v0, v0, Lcom/glympse/platform/common/Place;->m_strName:Ljava/lang/String;

    :goto_0
    invoke-direct {p0, v0}, Lcom/glympse/android/glympse/ViewSendGlympse;->SetDestinationButtonText(Ljava/lang/String;)V

    .line 773
    return-void

    .line 772
    :cond_0
    const-string v0, ""

    goto :goto_0
.end method

.method public SetTicket(Lcom/glympse/platform/common/Ticket;ZZLjava/lang/String;)V
    .locals 9
    .parameter "oTicket"
    .parameter "fFavorite"
    .parameter "fModify"
    .parameter "strSource"

    .prologue
    const/4 v7, 0x0

    const/4 v8, 0x1

    .line 260
    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->Clear()V

    .line 262
    new-instance v5, Lcom/glympse/platform/common/Ticket;

    invoke-direct {v5, p1}, Lcom/glympse/platform/common/Ticket;-><init>(Lcom/glympse/platform/common/Ticket;)V

    iput-object v5, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    .line 263
    iput-object p4, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_strTicketSrc:Ljava/lang/String;

    .line 267
    if-eqz p2, :cond_0

    .line 269
    iput-object p1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketFavorite:Lcom/glympse/platform/common/Ticket;

    .line 274
    :cond_0
    if-eqz p3, :cond_1

    .line 276
    iput-object p1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketModify:Lcom/glympse/platform/common/Ticket;

    .line 279
    :cond_1
    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->CreateControls()V

    .line 282
    const/4 v1, 0x0

    .line 283
    .local v1, fPromptForTwitter:Z
    const/4 v0, 0x0

    .line 287
    .local v0, fPromptForFacebook:Z
    const/4 v2, 0x0

    .local v2, i:I
    :goto_0
    iget-object v5, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v5, v5, Lcom/glympse/platform/common/Ticket;->m_listRecipients:Lcom/glympse/platform/GVector$Recipients;

    invoke-virtual {v5}, Lcom/glympse/platform/GVector$Recipients;->size()I

    move-result v5

    if-lt v2, v5, :cond_5

    .line 335
    iget-object v5, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    iget-object v6, p1, Lcom/glympse/platform/common/Ticket;->m_strMessage:Ljava/lang/String;

    invoke-static {v6}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Landroid/widget/AutoCompleteTextView;->setText(Ljava/lang/CharSequence;)V

    .line 338
    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->UpdateMessageColor()V

    .line 341
    iget-object v5, p1, Lcom/glympse/platform/common/Ticket;->m_oDestination:Lcom/glympse/platform/common/Place;

    iget-object v5, v5, Lcom/glympse/platform/common/Place;->m_strName:Ljava/lang/String;

    invoke-static {v5}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v5

    if-nez v5, :cond_2

    .line 343
    iget-object v5, p1, Lcom/glympse/platform/common/Ticket;->m_oDestination:Lcom/glympse/platform/common/Place;

    iget-object v5, v5, Lcom/glympse/platform/common/Place;->m_strName:Ljava/lang/String;

    invoke-direct {p0, v5}, Lcom/glympse/android/glympse/ViewSendGlympse;->SetDestinationButtonText(Ljava/lang/String;)V

    .line 346
    :cond_2
    if-eqz p3, :cond_8

    .line 349
    const/4 v5, 0x0

    invoke-direct {p0, v5}, Lcom/glympse/android/glympse/ViewSendGlympse;->SetDurationItem(I)V

    .line 352
    new-instance v5, Lcom/glympse/android/glympse/ViewSendGlympse$ModifyTimer;

    const-wide/16 v6, 0x3e8

    invoke-direct {v5, p0, v6, v7}, Lcom/glympse/android/glympse/ViewSendGlympse$ModifyTimer;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;J)V

    iput-object v5, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oModifyTimer:Lcom/glympse/android/glympse/ViewSendGlympse$ModifyTimer;

    .line 353
    sget-object v5, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    iget-object v6, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oModifyTimer:Lcom/glympse/android/glympse/ViewSendGlympse$ModifyTimer;

    invoke-virtual {v5, v6}, Lcom/glympse/android/glympse/Glympse;->AddTimer(Lcom/glympse/platform/common/GTimer;)V

    .line 356
    iget-object v5, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    const v6, 0x7f02007c

    invoke-virtual {v5, v6}, Landroid/widget/ImageButton;->setImageResource(I)V

    .line 365
    :goto_1
    if-eqz v1, :cond_3

    const-class v5, Lcom/glympse/android/glympse/DlgTwitterSettings;

    invoke-virtual {v5}, Ljava/lang/Class;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Lcom/glympse/android/glympse/DlgBase;->IsCreated(Ljava/lang/String;)Z

    move-result v5

    if-nez v5, :cond_3

    .line 367
    sget-object v5, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    new-instance v6, Lcom/glympse/android/glympse/DlgTwitterSettings;

    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->getContext()Landroid/content/Context;

    move-result-object v7

    invoke-direct {v6, v7, v8}, Lcom/glympse/android/glympse/DlgTwitterSettings;-><init>(Landroid/content/Context;Z)V

    invoke-virtual {v5, v6}, Lcom/glympse/android/glympse/Glympse;->QueueDialog(Landroid/app/Dialog;)Z

    .line 372
    :cond_3
    if-eqz v0, :cond_4

    const-class v5, Lcom/glympse/android/glympse/DlgFacebookSettings;

    invoke-virtual {v5}, Ljava/lang/Class;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Lcom/glympse/android/glympse/DlgBase;->IsCreated(Ljava/lang/String;)Z

    move-result v5

    if-nez v5, :cond_4

    .line 374
    sget-object v5, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    new-instance v6, Lcom/glympse/android/glympse/DlgFacebookSettings;

    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->getContext()Landroid/content/Context;

    move-result-object v7

    invoke-direct {v6, v7, v8}, Lcom/glympse/android/glympse/DlgFacebookSettings;-><init>(Landroid/content/Context;Z)V

    invoke-virtual {v5, v6}, Lcom/glympse/android/glympse/Glympse;->QueueDialog(Landroid/app/Dialog;)Z

    .line 376
    :cond_4
    return-void

    .line 290
    :cond_5
    iget-object v5, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v5, v5, Lcom/glympse/platform/common/Ticket;->m_listRecipients:Lcom/glympse/platform/GVector$Recipients;

    invoke-virtual {v5, v2}, Lcom/glympse/platform/GVector$Recipients;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/glympse/platform/common/Recipient;

    .line 292
    .local v4, oRecipient:Lcom/glympse/platform/common/Recipient;
    if-nez p3, :cond_7

    .line 296
    const/4 v5, 0x4

    iget v6, v4, Lcom/glympse/platform/common/Recipient;->m_eRecipientType:I

    if-ne v5, v6, :cond_6

    .line 298
    iput-object v7, v4, Lcom/glympse/platform/common/Recipient;->m_strDisplayName:Ljava/lang/String;

    .line 302
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v5

    iget-object v5, v5, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    invoke-virtual {v5}, Lcom/glympse/platform/Config;->HasTwitterCredentials()Z

    move-result v5

    if-nez v5, :cond_7

    .line 306
    const/4 v1, 0x1

    .line 307
    iget-object v5, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v5, v5, Lcom/glympse/platform/common/Ticket;->m_listRecipients:Lcom/glympse/platform/GVector$Recipients;

    add-int/lit8 v3, v2, -0x1

    .end local v2           #i:I
    .local v3, i:I
    invoke-virtual {v5, v2}, Lcom/glympse/platform/GVector$Recipients;->remove(I)Ljava/lang/Object;

    move v2, v3

    .line 287
    .end local v3           #i:I
    .restart local v2       #i:I
    :goto_2
    add-int/lit8 v2, v2, 0x1

    goto/16 :goto_0

    .line 314
    :cond_6
    const/4 v5, 0x5

    iget v6, v4, Lcom/glympse/platform/common/Recipient;->m_eRecipientType:I

    if-ne v5, v6, :cond_7

    .line 316
    iput-object v7, v4, Lcom/glympse/platform/common/Recipient;->m_strDisplayName:Ljava/lang/String;

    .line 320
    sget-object v5, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    invoke-virtual {v5}, Lcom/glympse/android/glympseservice/GlympseService;->GetFacebook()Lcom/glympse/android/glympseservice/FacebookWrapper;

    move-result-object v5

    invoke-virtual {v5}, Lcom/glympse/android/glympseservice/FacebookWrapper;->IsSignedIn()Z

    move-result v5

    if-nez v5, :cond_7

    .line 324
    const/4 v0, 0x1

    .line 325
    iget-object v5, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v5, v5, Lcom/glympse/platform/common/Ticket;->m_listRecipients:Lcom/glympse/platform/GVector$Recipients;

    add-int/lit8 v3, v2, -0x1

    .end local v2           #i:I
    .restart local v3       #i:I
    invoke-virtual {v5, v2}, Lcom/glympse/platform/GVector$Recipients;->remove(I)Ljava/lang/Object;

    move v2, v3

    .line 326
    .end local v3           #i:I
    .restart local v2       #i:I
    goto :goto_2

    .line 331
    :cond_7
    new-instance v5, Lcom/glympse/android/glympse/ViewSendGlympse$RecipientUI;

    invoke-direct {v5, p0, v4, p3}, Lcom/glympse/android/glympse/ViewSendGlympse$RecipientUI;-><init>(Lcom/glympse/android/glympse/ViewSendGlympse;Lcom/glympse/platform/common/Recipient;Z)V

    goto :goto_2

    .line 360
    .end local v4           #oRecipient:Lcom/glympse/platform/common/Recipient;
    :cond_8
    iget-object v5, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget v5, v5, Lcom/glympse/platform/common/Ticket;->m_nDurationMs:I

    invoke-direct {p0, v5}, Lcom/glympse/android/glympse/ViewSendGlympse;->SetDurationTime(I)V

    goto/16 :goto_1
.end method

.method public UpdateMessageColor()V
    .locals 12

    .prologue
    const/16 v11, 0xc0

    const/16 v10, 0x1a

    const/4 v9, 0x0

    .line 661
    iget-object v7, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    invoke-virtual {v7}, Landroid/widget/AutoCompleteTextView;->getText()Landroid/text/Editable;

    move-result-object v7

    invoke-interface {v7}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v6

    .line 663
    .local v6, strMessage:Ljava/lang/String;
    invoke-static {v6}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v7

    if-nez v7, :cond_0

    .line 665
    const/4 v0, 0x0

    .line 666
    .local v0, fTriedSms:Z
    const/4 v2, 0x0

    .line 667
    .local v2, fTriedTwitterSms:Z
    const/4 v1, 0x0

    .line 672
    .local v1, fTriedTwitterApi:Z
    invoke-virtual {p0}, Lcom/glympse/android/glympse/ViewSendGlympse;->IsModify()Z

    move-result v7

    if-eqz v7, :cond_1

    iget-object v7, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicketModify:Lcom/glympse/platform/common/Ticket;

    iget-object v7, v7, Lcom/glympse/platform/common/Ticket;->m_listRecipients:Lcom/glympse/platform/GVector$Recipients;

    invoke-virtual {v7}, Lcom/glympse/platform/GVector$Recipients;->size()I

    move-result v7

    move v4, v7

    .line 673
    .local v4, nRecipient:I
    :goto_0
    iget-object v7, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v7, v7, Lcom/glympse/platform/common/Ticket;->m_listRecipients:Lcom/glympse/platform/GVector$Recipients;

    invoke-virtual {v7}, Lcom/glympse/platform/GVector$Recipients;->size()I

    move-result v3

    .local v3, nCount:I
    :goto_1
    if-lt v4, v3, :cond_2

    .line 720
    .end local v0           #fTriedSms:Z
    .end local v1           #fTriedTwitterApi:Z
    .end local v2           #fTriedTwitterSms:Z
    .end local v3           #nCount:I
    .end local v4           #nRecipient:I
    :cond_0
    iget-object v7, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    invoke-static {v11, v10, v10, v10}, Landroid/graphics/Color;->argb(IIII)I

    move-result v8

    invoke-virtual {v7, v8}, Landroid/widget/AutoCompleteTextView;->setTextColor(I)V

    .line 721
    :goto_2
    return-void

    .restart local v0       #fTriedSms:Z
    .restart local v1       #fTriedTwitterApi:Z
    .restart local v2       #fTriedTwitterSms:Z
    :cond_1
    move v4, v9

    .line 672
    goto :goto_0

    .line 675
    .restart local v3       #nCount:I
    .restart local v4       #nRecipient:I
    :cond_2
    iget-object v7, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v7, v7, Lcom/glympse/platform/common/Ticket;->m_listRecipients:Lcom/glympse/platform/GVector$Recipients;

    invoke-virtual {v7, v4}, Lcom/glympse/platform/GVector$Recipients;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/glympse/platform/common/Recipient;

    .line 681
    .local v5, oRecipient:Lcom/glympse/platform/common/Recipient;
    const/4 v7, 0x3

    iget v8, v5, Lcom/glympse/platform/common/Recipient;->m_eRecipientType:I

    if-ne v7, v8, :cond_7

    .line 683
    iget-boolean v7, v5, Lcom/glympse/platform/common/Recipient;->m_fIsTwitterNumber:Z

    if-eqz v7, :cond_6

    .line 685
    if-eqz v2, :cond_4

    .line 673
    :cond_3
    add-int/lit8 v4, v4, 0x1

    goto :goto_1

    .line 689
    :cond_4
    const/4 v2, 0x1

    .line 711
    :cond_5
    :goto_3
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v7

    invoke-virtual {v7, v5, v6}, Lcom/glympse/platform/Platform;->WillMessageGetTruncated(Lcom/glympse/platform/common/Recipient;Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_3

    .line 713
    iget-object v7, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditMessage:Landroid/widget/AutoCompleteTextView;

    const/16 v8, 0xdc

    invoke-static {v11, v8, v9, v9}, Landroid/graphics/Color;->argb(IIII)I

    move-result v8

    invoke-virtual {v7, v8}, Landroid/widget/AutoCompleteTextView;->setTextColor(I)V

    goto :goto_2

    .line 693
    :cond_6
    if-nez v0, :cond_3

    .line 697
    const/4 v0, 0x1

    goto :goto_3

    .line 700
    :cond_7
    const/4 v7, 0x4

    iget v8, v5, Lcom/glympse/platform/common/Recipient;->m_eRecipientType:I

    if-ne v7, v8, :cond_5

    .line 702
    if-nez v1, :cond_3

    .line 706
    const/4 v1, 0x1

    goto :goto_3
.end method

.method public UpdateSendButton()V
    .locals 3

    .prologue
    .line 727
    iget-object v1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oEditRecipient:Landroid/widget/AutoCompleteTextView;

    invoke-virtual {v1}, Landroid/widget/AutoCompleteTextView;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/glympse/platform/common/Recipient;->GuessType(Ljava/lang/String;)I

    move-result v1

    if-nez v1, :cond_1

    .line 728
    iget-object v1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oTicket:Lcom/glympse/platform/common/Ticket;

    iget-object v1, v1, Lcom/glympse/platform/common/Ticket;->m_listRecipients:Lcom/glympse/platform/GVector$Recipients;

    invoke-virtual {v1}, Lcom/glympse/platform/GVector$Recipients;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_1

    const/4 v1, 0x0

    move v0, v1

    .line 730
    .local v0, fValid:Z
    :goto_0
    iget-object v1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    invoke-virtual {v1}, Landroid/widget/ImageButton;->isEnabled()Z

    move-result v1

    if-eq v0, v1, :cond_0

    .line 733
    sget-object v1, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    invoke-static {v1}, Lcom/glympse/platform/Reflection$_Activity;->invalidateOptionsMenu(Landroid/app/Activity;)V

    .line 735
    iget-object v1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oClipSend:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_2

    iget-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oShowSendPanel:Landroid/view/animation/Animation;

    :goto_1
    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->startAnimation(Landroid/view/animation/Animation;)V

    .line 736
    iget-object v1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    invoke-virtual {v1, v0}, Landroid/widget/ImageButton;->setEnabled(Z)V

    .line 737
    iget-object v1, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oButtonSend:Landroid/widget/ImageButton;

    invoke-virtual {v1, v0}, Landroid/widget/ImageButton;->setFocusable(Z)V

    .line 739
    :cond_0
    return-void

    .line 728
    .end local v0           #fValid:Z
    :cond_1
    const/4 v1, 0x1

    move v0, v1

    goto :goto_0

    .line 735
    .restart local v0       #fValid:Z
    :cond_2
    iget-object v2, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oHideSendPanel:Landroid/view/animation/Animation;

    goto :goto_1
.end method

.method public onAnimationEnd(Landroid/view/animation/Animation;)V
    .locals 2
    .parameter "anim"

    .prologue
    .line 744
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oHideSendPanel:Landroid/view/animation/Animation;

    if-ne p1, v0, :cond_0

    .line 746
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oClipSend:Landroid/widget/RelativeLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 748
    :cond_0
    return-void
.end method

.method public onAnimationRepeat(Landroid/view/animation/Animation;)V
    .locals 0
    .parameter "anim"

    .prologue
    .line 754
    return-void
.end method

.method public onAnimationStart(Landroid/view/animation/Animation;)V
    .locals 2
    .parameter "anim"

    .prologue
    .line 759
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oShowSendPanel:Landroid/view/animation/Animation;

    if-ne p1, v0, :cond_0

    .line 761
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSendGlympse;->m_oClipSend:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 763
    :cond_0
    return-void
.end method
